<?php
/*
 * File name : inputInviteFriends.php
* Description : Allows Donor to search for an Agency
* Created By :Abhiraj Chauhan
*/
include_once "basePage.php";

class inputInviteFriends extends basePage{
	public function input_invite(){

		
		
		
		echo <<<ADD
		<form action="inviteFriends.php" method="post">
		<!-- Include these scripts to import address books with CloudSponge -->
<script type="text/javascript" src="https://api.cloudsponge.com/address_books.js"></script>
<script type="text/javascript" charset="utf-8">
var csPageOptions = {
  domain_key:"Q5G2N44MMYNQ6QEG67SQ",
  textarea_id:"contact_list"
};
</script>
		
<!-- Any link with a class="cs_import" will start the import process -->
<a class="cs_import">Add from Address Book</a><br />
		
<!-- This textarea will be populated with the contacts returned by CloudSponge -->
<textarea name="email" id="contact_list" style="width:450px;height:82px"></textarea><br /><br />

<label>Subject</label><br />
<input name="subject" type="text" value="Join Good Mojo Donation"/><br /><br />
		
<label>Message</label><br />
		<textarea name="message" style="width:450px;height:82px">Please join Good Mojo Donation for good cause at http://localhost/good-mojo-donation/trunk/src/</textarea><br /><br />
		
		<input type="submit" value="Send Email" /><input type="reset" value="Reset Form" />
ADD;
	}
}

$page = new inputInviteFriends();
$page->header();
$page->include_transalte();
$page->top_menu_donor();
$page->input_invite();
$page->footer();

?>